﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web_HengliSeed
{
    public partial class Site : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public string GetURL()
        {
            if (Request.QueryString.Count == 0)
            {
                return Request.RawUrl + "?currentculture=";
            }
            else
            {
                
                return Request.RawUrl + "&currentculture=";
            }
        }

        private void CreateMenu()
        {
            
            string strMenu = @"<ul>
                    <li><a title='首页' href='/'>首页</li>
                    <li><a title='关于我们' href='#'>关于我们</a><div class='nav_sub rounded'>
                        <div class='body'>
                            <ul>
                                <li><a href='#'><strong>董事长致辞</strong></a></li>
                                <li><a href='/cn/about_us/history/'><strong>历史追溯</strong></a></li>
                                <li><a href='/cn/about_us/business_groups_at_a_glance/'><strong>在华业务介绍</strong></a></li>
                                <li><a href='/cn/about_us/locations/'><strong>在华企业通讯录</strong></a></li>
                            </ul>
                        </div>
                    </div>
                    </li>
                    <li><a title='新闻中心' href='/cn/news/'><span>新闻中心</span></a><div class='nav_sub rounded'>
                        <div class='body'>
                            <ul>
                                <li><a href='/cn/news/pressreleases/'><strong>新闻发布</strong></a></li>
                                <li><a href='/cn/news/company_magazine/'><strong>公司杂志</strong></a></li>
                                <li><a href='/cn/news/media_contacts/'><strong>媒体联络</strong></a></li>
                            </ul>
                        </div>
                    </div>
                    </li>
                    <li><a title='品牌及产品' href='/cn/brands_products/'><span>品牌及产品</span></a><div class='nav_sub rounded'>
                        <div class='body'>
                            <ul>
                                <li><a href='/cn/brands_products/product_search/'><strong>产品搜索</strong></a></li>
                                <li><a href='/cn/brands_products/coatings_products/'><strong>涂料产品</strong></a></li>
                                <li><a href='/cn/brands_products/global_brands/'><strong>全球品牌</strong></a></li>
                            </ul>
                        </div>
                    </div>
                    </li>
                    <li><a title='可持续发展在中国' href='/cn/sustainability_china/'><span>可持续发展在中国</span></a><div
                        class='nav_sub rounded'>
                        <div class='body'>
                            <ul>
                                <li><a href='/cn/sustainability_china/managing_sustainability/'><strong>可持续性管理</strong></a></li>
                                <li><a href='/cn/sustainability_china/sustainability_performance/'><strong>可持续性表现</strong></a></li>
                                <li><a href='/cn/sustainability_china/community_program/'><strong>社区公益</strong></a></li>
                                <li><a href='/cn/sustainability_china/sustainability_development_group/'><strong>可持续发展推动者</strong></a></li>
                                <li><a href='/cn/sustainability_china/education_fund/'><strong>教育基金</strong></a></li>
                                <li><a href='/cn/sustainability_china/sustainability_contacts/'><strong>联系我们</strong></a></li>
                            </ul>
                        </div>
                    </div>
                    </li>
                    <li><a title='职业生涯' href='/cn/careers/'><span>职业生涯</span></a><div class='nav_sub rounded'>
                        <div class='body'>
                            <ul>
                                <li><a href='/cn/careers/working_with_us/'><strong>加入我们</strong></a></li>
                                <li><a href='/cn/careers/a_multitude_of_opportunities/'><strong>机遇无限</strong></a></li>
                                <li><a href='/cn/careers/graduates/'><strong>校园招聘</strong></a></li>
                                <li><a href='/cn/careers/career_levels/'><strong>职业水平</strong></a></li>
                                <li><a href='/cn/careers/your_performance/'><strong>你的表现</strong></a></li>
                                <li><a href='/cn/careers/meet_our_colleagues/'><strong>与员工面对面</strong></a></li>
                                <li><a href='/cn/careers/vacancy_bank/'><strong>搜索空缺岗位</strong></a></li>
                                <li><a href='/cn/careers/logon_initial_registration/'><strong>登陆/注册</strong></a></li>
                            </ul>
                        </div>
                    </div>
                    </li>
                </ul>";
        }
    }
}